package cn.edu.sjtu.se.dslab.dao;

import java.util.List;

import cn.edu.sjtu.se.dslab.project.DisplayZone;

public interface IDisplayZoneDao {
	public DisplayZone queryById(long id);

	public DisplayZone queryByName(String name);

	public List<DisplayZone> queryByList();
	
	public void save(DisplayZone displayZone);

	public DisplayZone update(DisplayZone displayZone);

	public void delete(DisplayZone displayZone);
	
	public List<DisplayZone> queryByProject(long projectId);

	public DisplayZone queryByProjectAndName(long projectId, String name);
}
